package com.cloud.demo.models.bus.qo;

import com.cloud.demo.common.web.base.QueryObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Schema(description = "订单分页查询")
@Setter@Getter
public class OrderQo extends QueryObject {
    @Schema(description = "客户id")
    private Long clineId;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "结束时间")
    private Date endTime;

    @Schema(description = "订单号")
    private String orderNum;

    @Schema(description = "业务id")
    private Long saleId;

}
